package com.xiaoshuidi.cloud.module.report.dal.DO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoshuidi.cloud.framework.tenant.core.db.TenantBaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 设备房源关联表
 * </p>
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("room_sdiot_device_mapping")
@Schema(description="公寓")
public class RoomSdiotDeviceMappingDO  implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "系统生成编号")
    private String deviceNo;

    @Schema(description = "第三方编号")
    private String deviceThirdNo;

    @Schema(description = "'房源ID，关联room_house表")
    private String roomHouseId;

    @Schema(description = "是否删除")
    private Integer deleted;


}
